<?php
/**
 * Created by PhpStorm.
 * User: u
 * Date: 2019/4/2
 * Time: 13:51
 */

namespace common\sources\read\praisekeywords;


use common\models\craftsman\PraiseKeywords;

class PraiseKeywordsAccess implements IPraiseKeywordsAccess
{
    public function getPraiseKeywords($value_service_id)
    {
        return PraiseKeywords::find()
            ->select("id,bus_id,task_commod_id,value_service_id,word,is_user,create_time")
            ->where('value_service_id = '.$value_service_id)
            ->asArray()
            ->all();
    }
}